function [values]=verificaArquivo(filename)

und=findstr(filename,'_');
esp=findstr(filename,' ');
tund=size(und,2)
tesp=size(esp,2)

if(tund<tesp)
    ret='espaco';
    nparam=tesp;
else
    ret='underline';
    nparam=tund;
end

if(strcmp(ret,'espaco'))
    
    values = strread(filename,'%s');
elseif(strcmp(ret,'underline'))
    
    values = strread(filename,'%s','delimiter', '_');
end
values=strrep(values,' ','');
values=char(values);
